//
//  XMAlbumScanCell.m
//  XiaoMiao
//
//  Created by 23 on 2018/1/29.
//  Copyright © 2018年 smallyou. All rights reserved.
//

#import "XMAlbumScanCell.h"

@interface XMAlbumScanCell ()
@property (weak, nonatomic) IBOutlet UIImageView *iconView;

@end

@implementation XMAlbumScanCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.iconView.contentMode = UIViewContentModeScaleAspectFill;
    self.iconView.layer.masksToBounds = YES;
    
}

- (void)setImageModel:(XMAlbumScanModel *)imageModel
{
    _imageModel = imageModel;
    
    self.iconView.image = imageModel.image;
}

@end
